#include "SimplePig.h"
#include "Animation.h"

SimplePig::SimplePig(void)
: TexturedEntity()
{
    m_position = Vector3();
    m_pixelsSize = Dimension();
}

SimplePig::SimplePig(boost::shared_ptr<Scene> scene, const Vector3& position, const Dimension& size)
: TexturedEntity(scene, "data/textures/ingamebirds1.tga")
{
    m_position = position;
    m_pixelsSize = size;
}

SimplePig::~SimplePig(void)
{
}

bool SimplePig::onInitialize()
{
    // Specific initialization
    setPositionInTexture(Vector3(732.0f, 64.0f, 0.0f));
    setSizeInTexture(Dimension(48.0f, 48.0f));

    // Common initialization from base class
    return commonInit();
}

void SimplePig::onPrepare(float dT)
{
    // Common process from base class
    commonPrepare(dT);
}

void SimplePig::onDestroy(void)
{
}
